package com.csj.DesignPattern.responsibility;

public class GeneralManager extends Handler{

    public GeneralManager()
    {
        super(NUM_THREE, NUM_SEVEN);
    }
    @Override
    protected void handleLeave(LeaveRequest leave) {
        System.out.println("总经理" + leave.getName() + "请假" + leave.getNum() + "天，" + leave.getContent());
        System.out.println("总经理审批通过");
    }
}
